package lab02.Test04;

/**
 * Created by lenovo on 2017/10/15.
 */
public class Test {
    public static void main(String[] args) {
        int hours = 170;
        Staff sta = new Staff("zhangsan", "123001", 5000);
        sta.print();
        System.out.print("基本工资:");
        sta.getBasicSalary();
        System.out.println("增长额：" + sta.getGrowthRate(hours));
        System.out.println("总工资：" + sta.getTotalSalary(hours));
    }
}
